import request from './request.js'

// 资金模块
const comparison = {
  // 通过卡号获取银行卡信息
  GetBankInfo(data) {
    return request.post('/client/AccountBank/GetBankInfo', data)
  },
  // 发送验证码
  SendMsg(data) {
    return request.post('/client/AccountBank/SendMsg', data)
  },
  // 添加银行卡
  AddNewBankCard(data) {
    return request.post('/client/AccountBank/AddNewBankCard', data)
  },
  // 设置支付密码
  SetPayPassword(data) {
    return request.post('/client/AccountBank/SetPayPassword', data)
  },
  // 添加银行卡_获取认证信息
  GetUserIdentityInfo(data) {
    return request.post('/client/AccountBank/GetUserIdentityInfo', data)
  },
  // 识别银行卡号
  GetBankCardNumByImg(data) {
    return request.post('/client/AccountBank/GetBankCardNumByImg', data)
  },
  //跳转通联协议
  signContract() {
	  return request.post('/api/common/core/YST/SignContractURL')
  },
  //绑定手机发送短信验证码
  sendVerificationCode(data) {
	  return request.post('/api/common/core/YST/SendVerificationCode',data)
  },
  //绑定手机
  bindPhone(data) {
	  return request.post('/api/common/core/YST/BindPhone',data)
  },
  //获取个人会员认证进度
  getCertificationProgress(data) {
	  return request.post('/api/common/core/YST/GetCertificationProgress',data)
  },
  //获取银行卡列表
  getBankcardList(data) {
	  return request.post('/api/client/core/AccountBank/GetBankcardList',data)
  },
  //添加银行卡列表(新)
  AddNew(data) {
	  return request.post('/api/client/core/AccountBank/AddNewBankCard',data)
  },
  //申请提现接口
  applyWithdraw(data) {
	  return request.post('/api/common/core/ApplyWithdraw/ApplyWithdraw',data)
  },
  //提现打款
  withdrawApprovePay(data) {
	  return request.post('/api/common/core/ApplyWithdraw/WithdrawApprovePay',data)
  },
  //提现记录
  withdrawRecords(data) {
	  return request.post('/api/common/core/ApplyWithdraw/WithdrawRecords',data)
  },
}

export default comparison
